package cn.tuling.mybatis.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

public interface UserMapper {

    @Select("select 'user'")
    public String selectById(Long id);

    @Insert("insert into user values('1', 'test1')")
    public Integer insertOne();

    @Insert("insert into user values('2', 'test2')")
    public Integer insertTwo();
}
